﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master"
    Inherits="System.Web.Mvc.ViewPage<HYBYSoft.Company.Models.Category>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="content">
        <p>
            <span id="sitemap">当前位置：</span>
        </p>
        <fieldset>
            <legend>
                <%: Model.Name %>详细信息</legend>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Name) %>：
            </div>
            <div class="editor-field">
                <%: Model.Name %></div>
            <div class="editor-empty">
            </div>
            <div class="company-lableDes">
                <%: Html.LabelFor(model => model.Description)%>：</div>
            <div class="company-fieldDes">
                <%: Model.Description %></div>
            <div class="editor-empty">
            </div>
            <div class="company-lableDes">
                <%: Html.LabelFor(model => model.Icon)%>：</div>
            <div class="company-fieldDes">
                <% Response.Write("<img src='../../../../UplodeImages/" + Model.Icon + "' />"); %></div>
            <div class="editor-empty">
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.ParentName)%>：</div>
            <div class="editor-field">
                <%: Model.ParentName %></div>
            <div class="editor-empty">
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.State)%>：</div>
            <div class="editor-field">
                <%: Model.State==1?Html.Encode("是"):Html.Encode("否") %></div>
            <div class="editor-empty">
            </div>
        </fieldset>
        <% Html.RenderPartial("partialBackLink"); %>
    </div>
</asp:Content>
